package temp.lho.lws.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import temp.lho.lws.mapper.HumanInjuryInfoMapper;
import temp.lho.lws.mapper.IBaseMapper;
import temp.lho.lws.pojo.HumanInjuryInfo;
import temp.lho.lws.service.IHumanInjuryInfoService;

import java.util.List;

/**
 * (HumanInjuryInfo)表服务实现类
 *
 * @author makejava
 * @since 2020-07-06 23:15:37
 */
@Service("humanInjuryInfoService")
public class HumanInjuryInfoServiceImpl extends BaseServiceImpl<HumanInjuryInfo > implements IHumanInjuryInfoService {

    @Autowired
    private HumanInjuryInfoMapper humanInjuryInfoMapper;

    @Override
    protected IBaseMapper<HumanInjuryInfo> baseMapper() {
        return humanInjuryInfoMapper;
    }

    @Override
    public List<HumanInjuryInfo> findByClaimmainid(Integer claimmainid) {
        return humanInjuryInfoMapper.findByClaimmainid(claimmainid);
    }
}